/*
Copyright 2010-2011 CumulusCloud
http://cumuluscloud.cc

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

package cumulusCloud.common;

/**
 * This class gives some useful information about this library
 * 
 * @author Simon Levesque
 *
 */
public class InformationCore {
	// TODO Core Version (DO NOT FORGET)
	static private int major = 0;
	static private int minor = 4;
	static private int fix = 0;
	
	/**
	 * To get the current Core library version
	 * 
	 * @return The current version
	 */
	static public String getCoreVersion() {
		return major + "." + minor + "." + fix;
	}

	/**
	 * To get the major version.
	 * 
	 * This number increases when the API is no more backward compatible
	 *  
	 * @return The major version
	 */
	public static int getMajor() {
		return major;
	}

	/**
	 * To get the minor version.
	 * 
	 * This number increases when there are new functions in the API and it is still backward compatible
	 * 
	 * @return The minor version
	 */
	public static int getMinor() {
		return minor;
	}

	/**
	 * To get the fix version.
	 * 
	 * This number increases when there is a bug or performance fix
	 * 
	 * @return The fix version
	 */
	public static int getFix() {
		return fix;
	}
}
